home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-08-26 | 1.3 KB | 58 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="5"
- "COUNT"="2"
- "UIPATH"="Internet\Internet Explorer\Clear"
- "NAME"="Clear Items"
- "VERSION"="1.32"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear typed URLs"
- "TEXT 2"="Clear Radio Links"
- "TEXT 3"="C"
- "TEXT 4"="D"
- "DESCRIPTION 1"="If you do not want that other people can see the items you have saved, click one of the buttons."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for the help."
-
- sP="HKCU\Software\Microsoft\Internet Explorer\TypedURLs\"
-
- sP2a="HKCU\Software\Microsoft\MediaPlayer\Radio\MRUList\"
- sP2b="HKCU\Software\Microsoft\MediaPlayer\Radio\MRUList\Radio_Station_Count"
-
- Sub Plugin_Initialize
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- i=RegEnumValues(sp)
- for l=1 to i
- Call RegDeleteValue(sp & RegEnumElement(l))
- Next
-
- Call MsgInformation("Typed URLs cleared")
- end if
-
-
- if ElementIndex=2 then
- i=RegEnumValues(sp2a)
- for l=1 to i
- Call RegDeleteValue(sp2a & RegEnumElement(l))
- Next
- Call RegWriteValue(sp2b,0,2)
-
-
- Call MsgInformation("Radio links cleared")
- end if
-
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-